#include<iostream>
#include<cmath>
using namespace std;
int main(){
  int x,y;
  cin>>x>>y;
  cout<<((abs(x)<2&&abs(y)<2)?"yes":"no");
}